package com.ibeeking.found.upms.api.feign;

import com.ibeeking.found.upms.api.feign.fallback.SystemProjectFallbackFactory;
import com.ibeeking.found.upms.api.common.dto.ProjectDTO;
import com.ibeeking.nematos.utils.result.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @Author ibeeking
 */
@FeignClient(name = "base-system-b-server", path = "/b", contextId = "systemProjectClient", fallbackFactory = SystemProjectFallbackFactory.class, decode404 = true)
public interface SystemProjectClient {

    /**
     * 查询项目商场信息
     *
     * @return
     */
    @PostMapping(value = "/project/feign/v1/queryProjectInfo")
    ResponseResult<ProjectDTO> queryProjectInfo();
}
